package org.openfans.domain;

/**
 * 描述：软件和文章的相关链接<br>
 * 日期：2006-5-29<br>
 * 
 * @author 张俊<br>
 * @email:pesome@gmail.com<br>
 */
public abstract class Link {
	/**
	 * @uml.property name="linkId"
	 */
	private int linkId;

	/**
	 * @uml.property name="title"
	 */
	private String title;

	/**
	 * @uml.property name="url"
	 */
	private String url;

	/**
	 * �����link�ı����Ϣ�����Ѿ���"��t��"��
	 * 
	 * @uml.property name="flag"
	 */
	private int flag;

	/**
	 * @return Returns the flag.
	 * @uml.property name="flag"
	 */
	public int getFlag() {
		return flag;
	}

	/**
	 * @param flag
	 *            The flag to set.
	 * @uml.property name="flag"
	 */
	public void setFlag(int flag) {
		this.flag = flag;
	}

	/**
	 * @return Returns the linkId.
	 * @uml.property name="linkId"
	 */
	public int getLinkId() {
		return linkId;
	}

	/**
	 * @param linkId
	 *            The linkId to set.
	 * @uml.property name="linkId"
	 */
	public void setLinkId(int linkId) {
		this.linkId = linkId;
	}

	/**
	 * @return Returns the title.
	 * @uml.property name="title"
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            The title to set.
	 * @uml.property name="title"
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return Returns the url.
	 * @uml.property name="url"
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 *            The url to set.
	 * @uml.property name="url"
	 */
	public void setUrl(String url) {
		this.url = url;
	}

}
